// components/register-form/register-form.js
Component({
  properties: {
    registerData: Object,
    captchaUrl: String
  },
  methods: {
    handleRegister(e) {
      this.triggerEvent('register', e.detail.value);
    },
    refreshCaptcha() {
      this.triggerEvent('refreshCaptcha');
    }
  }
});
